package com.huluobo.lib_base.net

/**
 *  Created by LC on 2025/10/8.
 */
object Const {
    const val BASE_URL = "http://10.161.9.80:7012"
    const val PARAM_TOKEN = "token"
    const val MEDIA_TYPE = "application/json;charset=utf-8"
    const val KEY_VIDEO_BEAN = "videoBean"
    const val CHAT_ROOM_ID = "292670979244035"
    const val KEY_ORDER = "order"

    //登录
    const val URL_LOGIN = "/user/loginjson"
    const val PARAM_USERNAME = "username"
    const val PARAM_PASSWORD = "password"

    //注册
    const val URL_REGISTER = "/user/register"
    const val PARAM_RE_PASSWORD = "repassword"

    //视频
    const val URL_VIDEOS = "/video/findVideos"
    const val PARAM_CURRENT_PAGE = "currentPage"
    const val PARAM_PAGE_SIZE = "pageSize"

    //点赞
    const val URL_LIKE_VIDEO = "/fav/love"
    const val PARAM_VIDEO_ID = "videoId"
    const val URL_UN_LIKE_VIDEO = "/fav/nolove"

    //关注
    const val URL_FOLLOW_AUTH = "/guanzhu/guanzhu"
    const val PARAM_AUTHNAME = "authname"
    const val URL_UN_FOLLOW_AUTH = "/guanzhu/noguanzhu"

    //评论
    const val URL_GET_COMMENT = "/comment/getCommentByVideoId"
    const val URL_SEND_COMMENT = "/comment/comment"
    const val PARAM_MSG = "msg"

    //二级评论
    const val PARAM_ROOT_ID = "rootId"
    const val URL_GET_CHILD_COMMENT = "/comment/getChildCommentByVideoId"

    //回复评论
    const val PARAM_PARENT_ID = "parentId"
    const val URL_RESPONSE_COMMENT = "/comment/childComment"

    //礼物
    const val URL_GET_GIFT = "/gift/json"

    //小黄车
    const val URL_GET_GOODS = "/goods/info?category_id=0"
    const val URL_GET_GOODS_DETAIL = "/goods/detail"
    const val PARAM_GOODS_ID = "goods_id"

    //购物车
    const val PARAM_COUNT = "count"
    const val URL_ADD_TO_CART = "/goods/addCar"
    const val URL_GET_CART = "/goods/selectCar"
    const val PARAM_IDS = "ids"
    const val URL_DELETE_CART = "/goods/deleteCar"
}